/*
 * @Author: chenzanjing
 * @Date: 2023-06-09 10:58:47
 * @LastEditors: chenzanjing
 * @LastEditTime: 2023-06-12 15:44:36
 * @FilePath: \Geeker-Admin\lint-staged.config.cjs
 * @Description:
 *
 * Copyright (c) 2023 by ${sylar}, All Rights Reserved.
 */
module.exports = {
  "*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
  "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": ["prettier --write--parser json"],
  "package.json": ["prettier --write"],
  "*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
  "*.{scss,less,styl,html}": ["stylelint --fix", "prettier --write"],
  "*.md": ["prettier --write"],
};
